package com.接口;

public class Test {
    public static void main(String[] args) {
        Panda p=new Panda();
        Animal ani=new Panda();
        Valuable v=new Panda();
        Protectable pro=new Panda();

        p.eat();
        p.cang();
        p.getMoney();

        ani.eat();
        pro.cang();
        v.getMoney();
    }
}
